package ch.sfug.player {	import ch.sfug.events.PlayerEvent;	import ch.sfug.player.AbstractPlayer;		/**	 * @author mich	 */	public class PauseState extends AbstractPlayerState {				public function PauseState( player:AbstractPlayer ) {			super( player );		}		public override function pause():void {			// resume play.			play();		}						public override function stop():void {			player.stopPlayer();			player.setState( new StopState( player ) );		}				public override function play():void {			player.resumePlayer();			player.setState( new PlayState(player ) );		}				public override function dispatchState( ):void {			player.dispatchEvent( new PlayerEvent( PlayerEvent.PAUSE ) );		}						public override function isPaused():Boolean {			return true;		}					}}